<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    <script src="./lib/vue.min-2.6.11.js"></script>

</head>
<body>
    <div id="app">
        <h1 style="color: red; background-color: skyblue;">h1</h1>
        <h1 :style="objStyle">2 h1</h1>

    </div>

    <script>
          const vm=new Vue({
              el:'#app',
              data:{
                  objStyle:{
                      color:'green',
                      'background-color':'pink',
                      fontSize:'100px'
                  }
              }
          })
    </script>
</body>
</html>